home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGNG_C
/
CSTUFF.LZH
/
CSTUFF.DOC
< prev
next >
Wrap
Text File
|
1986-09-23
|
2KB
|
51 lines
NOTES ON CSTUFF.ARC FILES:
**** UPDATED 9/23/86 ****************************************
This archive contains some routines that might be helpful when
using Microsoft C Compiler or Lattice C, although some
modifications may be needed for the latter (or other C
compilers). Contained in the archive are the following:
1. POKE.ASM: A routine to write directly to any PC memory
location. Written in assembler - use MASM.
2. PEEK.ASM: A routine to get the contents of any PC memory
location. Written in assembler - use MASM.
3. FWRITE.ASM: A routine to write directly to the screen buffer
on the IBM PC or compatibles. Can be used with either monochrome
or color graphics video adapters (the routine determines which
one is in use). Based on the FastWrite procedure submitted to the
Borland SIG on CompuServe by Bryan Foley, modified by Mike Most.
Works Great!!!!!! Use MASM.
4. CURSOR.C: Routines to turn the cursor on and off and set the
cursor size by lines. Written in C.
5. CPOS.ASM: Routine to position the cursor anywhere on the text
screen. Written in assembler - Use MASM.
6. CAPLOCK.C: Routine to turn the caps lock on or off by software
control Written in C, uses PEEK and POKE functions described
above.
7. NUMLOCK.C: Routine to turn the num lock on or off by software
control. Written in C, uses PEEK and POKE functions.
8. CLS.ASM: Routine to clear the screen. Written in assembler -
use MASM.
9. GETCURS.C: Gets the current position of the cursor on the text
screen.
10. CLREOL.C: Clears the screen to the end of the current line.
Enjoy!!!
Michael D. Most
Marina Del Rey, CA
Sept. 7, 1986